package cn.jbolt.ai.agent.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.util.Date;

@TableName("comp_base_keys_info") // 指定数据库表名
public class BaseKeysInfo {
    @TableId(type = IdType.ASSIGN_ID)
    private Long id;

    @Schema(name = "comp_name", description = "企业名称")
    @TableField("comp_name")
    private String compName;


    @Schema(name = "comp_scale", description = "企业规模")
    @TableField("comp_scale")
    private String compScale;

    @Schema(name = "keys_type", description = "关键词类型")
    @TableField("keys_type")
    private String keysType;

    @Schema(name = "keys_bak", description = "创建日期")
    @TableField("keys_bak")
    private String keysBak;

    @Schema(name = "createTime", description = "创建时间")
    @JsonFormat(locale = "zh", pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCompName() {
        return compName;
    }

    public void setCompName(String compName) {
        this.compName = compName;
    }

    public String getCompScale() {
        return compScale;
    }

    public void setCompScale(String compScale) {
        this.compScale = compScale;
    }

    public String getKeysType() {
        return keysType;
    }

    public void setKeysType(String keysType) {
        this.keysType = keysType;
    }

    public String getKeysBak() {
        return keysBak;
    }

    public void setKeysBak(String keysBak) {
        this.keysBak = keysBak;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
